module.exports = {
    getMetaInfo: () => {
        const meta = {
            controllerDir:'controller',
            apis:[
                {
                     path:'PersonController',// 路径默认是去掉Controller的部分
                     url: 'person',// 可以不写 默认为 path去掉Controller并首字母小写
                     method:['GET','POST'],
                     auth:false, // true|false
                     authType:'api_token', //login_user|api_token
                     functions:[
                        {name:'add'},
                        {name:'edit'},
                        {name:'deleteByIds'},
                        {name:'select'},
                        {name:'sum'}
                     ]
                }
            ]
        }
        return meta
    }
}